package com.deercrowing.takeaway.common.properties;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "jwt-token")
public class JwtProperties {
    private String encodedSecretKey;

    private Integer lifeSpan;
}
